package com.java.demo.enity;


import lombok.Getter;
import lombok.Setter;

// lombok 的注解，需要添加依赖和lombok插件
@Setter
@Getter
public class User {
    private int userId;
    private String name;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                '}';
    }
}
